#!/bin/bash

set -e

if [[ "${is_minimal}" = "true" ]]; then
    return 0
elif [[ "${is_ghost}" = "true" ]]; then
    return 0
fi

if [[ -f /target/etc/apt/sources.list.bak ]]; then
    mv /target/etc/apt/sources.list{.bak,}
fi
